package com.guzipi.websocketdemo.bean;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class SocketMessage implements Serializable {
    private String srcUserId;
    private String destUserId;//用户id或Broadcast，用于点对点或广播
    private String msgType;//消息类别，ConnectInfo，UserList,Message
    private String msgBody;
    private List<String> onlineList;
}
